package google.android.ageofempires;

import google.android.ageofempires.view.PlayView;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

public class AgeOfEmpires extends Activity {	
	
	@Override
    public void onCreate(Bundle savedInstanceState) {        
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);
        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);        
        setContentView(new PlayView(this));              
    }  	
	
//	@Override
//	protected void onResume() {
//		// TODO Auto-generated method stub
//		
//		requestWindowFeature(Window.FEATURE_NO_TITLE);
//        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);        
//        setContentView(new PlayView(this));
//		
//        super.onResume();				
//	}
}